projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0478c3
)
widget-factory: Make the entry progress variable too
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 28 Jun 2014 19:23:29 +0000
(15:23 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 28 Jun 2014 19:23:29 +0000
(15:23 -0400)
Make the scale that currently controls the speed of the progressbar
control the progress speed in the entry as well.
demos/widget-factory/widget-factory.c
patch
|
blob
|
history
diff --git
a/demos/widget-factory/widget-factory.c
b/demos/widget-factory/widget-factory.c
index 09b3a093734b72cf7135b93cd1aebb48b31a6d8b..ff0c3dc42b6f043da18d3e4b78e8cfb769fb56f8 100644
(file)
--- a/
demos/widget-factory/widget-factory.c
+++ b/
demos/widget-factory/widget-factory.c
@@
-182,7
+182,7
@@
pulse_entry (GtkEntry *entry)
{
gtk_entry_progress_pulse (entry);
- pulse_entry_id = g_timeout_add (
100
, (GSourceFunc)pulse_entry, entry);
+ pulse_entry_id = g_timeout_add (
pulse_time
, (GSourceFunc)pulse_entry, entry);
return G_SOURCE_REMOVE;
}